﻿using System;

namespace Model
{
    public class YX_BillsLedger
    {
        /// <summary>
        /// 银行票据台账ID
        /// </summary>
        public decimal N_ID { get; set; }

        /// <summary>
        /// 票据种类ID
        /// </summary>
        public decimal N_TYPE { get; set; }

        /// <summary>
        /// 票据ID
        /// </summary>
        public decimal N_BILL_ID { get; set; }

        /// <summary>
        /// 出票人ID
        /// </summary>
        public decimal N_DRAWERUSERID { get; set; }

        /// <summary>
        /// 付款人（银行或公司工作人员）
        /// </summary>
        public string C_DRAWEENAME { get; set; }

        /// <summary>
        /// 收款人公司
        /// </summary>
        public string C_PAYEECMYNAME { get; set; }

        /// <summary>
        /// 收款人银行
        /// </summary>
        public string C_PAYEEBANKNAME { get; set; }

        /// <summary>
        /// 收款人账户
        /// </summary>
        public string C_PAYEEACCOUNT { get; set; }

        /// <summary>
        /// 收款人联系电话
        /// </summary>
        public string C_PAYEENUMBER { get; set; }

        /// <summary>
        /// 票据到期日
        /// </summary>
        public DateTime D_ENDDATE { get; set; }

        /// <summary>
        /// 票据期限（月）
        /// </summary>
        public decimal N_TERMOFBILL { get; set; }

        /// <summary>
        /// 承兑时间
        /// </summary>
        public DateTime D_ACCEPTANCETIME { get; set; }

        /// <summary>
        /// 收票时间
        /// </summary>
        public DateTime D_COLLECTTICKETSTIME { get; set; }

        /// <summary>
        /// 项目名称（用途）
        /// </summary>
        public string C_PROJECTNAME { get; set; }

        /// <summary>
        /// 交易合同号（用途）
        /// </summary>
        public string C_PROJECTCODE { get; set; }

        /// <summary>
        /// 能否背书转让（0表示不能，1表示能）
        /// </summary>
        public decimal N_IFOFFER { get; set; }

        /// <summary>
        /// 支付类型（1 转账，2 现金）（注：银行本票现金不允许背书转让）
        /// </summary>
        public decimal N_PAYTYPE { get; set; }

        /// <summary>
        /// 购入日期
        /// </summary>
        public DateTime? D_PURCHASEDATE { get; set; }
    }
}